[XEN] The shadow FAST_FAULT_PATH optimisation assumes that pages never
authorssmith@localhost.localdomain <ssmith@localhost.localdomain>
Mon, 11 Dec 2006 19:16:29 +0000 (11:16 -0800)
committerssmith@localhost.localdomain <ssmith@localhost.localdomain>
Mon, 11 Dec 2006 19:16:29 +0000 (11:16 -0800)
commit7a3d8f6e4dd56771a7514624bbace26883a36da7
tree9d792ae7a6e4a47dc0ab56f13e7d1021360cdba1
parent8537fbaeade8b85d8751b2702b0b3e76dabaeff6
[XEN] The shadow FAST_FAULT_PATH optimisation assumes that pages never
transition between mmio and RAM-backed.  This isn't true after a
an add_to_physmap memory op.  Fix this by just blowing the shadow tables
after every such operation; they're rare enough that the performance
hit is not a concern.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Acked-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/shadow.h